package com.fastCms.business.frame.busi;


import com.fastCms.business.frame.pojo.po.MenuOfUserPO;
import com.fastCms.business.frame.pojo.po.MenuPointOfUserPO;
import com.fastCms.business.frame.pojo.vo.CloudMenuVO;
import com.fastCms.business.frame.response.ApiResponse;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lsquan
 * @since 2019-03-07
 */
public interface CloudMenuManageService {

    List<CloudMenuVO> findSuperAdminMenu(String organizeCode);

    List<CloudMenuVO> findSystemAdminMenu(String organizeCode, String functionType);

    List<CloudMenuVO> findSystemUserMenu(String roleId, String functionType);

    //选择菜单
    boolean chooseMenu(String roleId, List<String> menuIds);

    ApiResponse<List<CloudMenuVO>> findMenuByUser(MenuOfUserPO param);

    List<CloudMenuVO> findByRoleId(String roleId);

    ApiResponse<List<CloudMenuVO>> findMenuPoint(MenuPointOfUserPO param);

}
